<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>添加配件</title>
<link rel="stylesheet" href="framework/css/form.css" type="text/css">
<script type="text/javascript" src="framework/js/checknum.js"></script>
</head>
<body>
	<h2>添加配件</h2>
	<p align="center">
		<span style="color: #CE3C4F; font-size: 16px;">${requestScope.message}</span>
	</p>
	<br>
	<form id="addPart" name="addPart" action="addPart_par" enctype="multipart/form-data" method="post">
		<table width="100%" border="0">
			<tr>
				<td width="30%" align="right">配件名称:</td>
				<td width="70%" align="left"><input type="text"
					name="part.name" maxlength="45"></td>
			</tr>
			<tr>
				<td width="30%" align="right">图片:</td>
				<td width="70%" align="left"><input type="file" name="uploadFile"></td>
			</tr>
			<tr>
				<td width="30%" align="right">售价:</td>
				<td width="70%" align="left"><input type="text"
					name="part.price" maxlength="10"
					onmouseout="checkPrice(this)"></td>
			</tr>
			<tr>
				<td width="30%" align="right">库存:</td>
				<td width="70%" align="left"><input type="text"
					name="part.stock" maxlength="10"
					onmouseout="checkPrice(this)"></td>
			</tr>
			<tr>
				<td width="30%" align="right">详细信息:</td>
				<td width="70%" align="left"><textarea rows="3"
						style="width: 70%" name="part.info"></textarea></td>
			</tr>
		</table>
		<div class="bo" align="right">
			<input type="submit" value="提交">&nbsp;&nbsp;<input
				type="reset" value="重置">
		</div>
	</form>


</body>
</html>